dialog: fix configure test against ncurses
authorFlorian Fainelli <[email protected]>
Sat, 8 Mar 2014 00:56:42 +0000 (00:56 +0000)
committerFlorian Fainelli <[email protected]>
Sat, 8 Mar 2014 00:56:42 +0000 (00:56 +0000)
commitd5441f56b64dca12c3ee750e42a3edfad7a1ab8d
tree072d2f0bf588bcef2bd0a3729cff291448f7fa6d
parenta6658fe345b20c886cad6b29a60e7e08a6e8eceb
dialog: fix configure test against ncurses

When building on x86_64 hosts, the configure script will try to add /lib64 from
the host to the linker command, which will usually result in failing the
ncurses library test, fix this by checking whether we are cross-compiling or
not.

Signed-off-by: Florian Fainelli <[email protected]>
SVN-Revision: 39802
utils/dialog/Makefile
utils/dialog/patches/001-cross_compile.patch [new file with mode: 0644]